<?php


namespace app\api\model;


use think\Model;

class UserAutoReply extends Model
{

    //自动写入时间
    protected $autoWriteTimestamp = true;

    /**
     * 时间格式化
     * @var string
     */
    protected $dateFormat = 'Y-m-d H:i:s';

    public function autoReply()
    {
        return $this->belongsTo('AutoReply', 'auto_reply_id', 'id');
    }
}